-- GENERATED SPELL FOR [Boneguard Scout] --


function spell0_33550(pUnit, Event) --@Necrocution,n/a--
pUnit:FullCastSpellOnTarget(63233,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33550', 2000, 1)
end

function Sorts_33550(pUnit, Event)
local choix_sorts_33550 = math.random(0, 0)
if choix_sorts_33550 == 0 then
pUnit:RegisterEvent('spell0_33550', 1, 1)
end
end

function mob33550_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33550', math.random(1500, 3000), 1)
end

function mob33550_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33550_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33550_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33550, 1, 'mob33550_Action')
RegisterUnitEvent(33550, 2, 'mob33550_Leave')
RegisterUnitEvent(33550, 3, 'mob33550_Kill')
RegisterUnitEvent(33550, 4, 'mob33550_Die')
